package com.csproj.dispatch.service.mapper;

import com.csproj.dispatch.domain.PositionInfo;
import com.csproj.dispatch.service.dto.PositionInfoDTO;
import com.csproj.siiat.service.mapper.EntityMapper;
import org.mapstruct.Mapper;

/**
 * Mapper for the entity PositionInfo and its DTO PositionInfoDTO.
 */
@Mapper(componentModel = "spring", uses = {})
public interface PositionInfoMapper extends EntityMapper<PositionInfoDTO, PositionInfo> {

    

    

    default PositionInfo fromId(String id) {
        if (id == null) {
            return null;
        }
        PositionInfo positionInfo = new PositionInfo();
        positionInfo.setId(id);
        return positionInfo;
    }
}
